﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 收货行分发记录数据传输对象 Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfOBARcvLineDispenseDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfOBARcvLineDispenseDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
					DispenseQtyTU=0m; 
		
		
		
		
		
					SysVersion= 0; 
							DispenseLineNo= 0; 
							Grade= -1; 
							Potency= -1; 
							DispenseQtySU=0m; 
		
					DispenseQtyTBU=0m; 
					SrcDispenseLineID= 0; 
				
		
		
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.UseOrg != null) 
			{
				this.UseOrg.DoSerializeKeyList(dict);
			}
	        			if (this.UseDept != null) 
			{
				this.UseDept.DoSerializeKeyList(dict);
			}
	        			if (this.UseMan != null) 
			{
				this.UseMan.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        	        	        	        	        	        	        			if (this.DescFlexSegments != null) 
			{
				this.DescFlexSegments.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.OBARcvLineDTO != null) 
			{
				this.OBARcvLineDTO.DoSerializeKeyList(dict);
			}
	        			if (this.AssetCategory != null) 
			{
				this.AssetCategory.DoSerializeKeyList(dict);
			}
	        			if (this.AssetLocation != null) 
			{
				this.AssetLocation.DoSerializeKeyList(dict);
			}
	        			if (this.OwnerDept != null) 
			{
				this.OwnerDept.DoSerializeKeyList(dict);
			}
	        			if (this.AuditDept != null) 
			{
				this.AuditDept.DoSerializeKeyList(dict);
			}
	        			if (this.Owner != null) 
			{
				this.Owner.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.TagDescFlexSegments != null) 
			{
				this.TagDescFlexSegments.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfOBARcvLineDispenseDTOData(  ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData useOrg  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData useDept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData useMan  , System.Decimal dispenseQtyTU  , System.Int64 iD  , System.DateTime createdOn  , System.String createdBy  , System.DateTime modifiedOn  , System.String modifiedBy  , System.Int64 sysVersion  , System.Int32 dispenseLineNo  , System.Int32 grade  , System.Int32 potency  , System.Decimal dispenseQtySU  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexSegments  , System.Decimal dispenseQtyTBU  , System.Int64 srcDispenseLineID  , UFIDA.U9.ISV.RCV.DTO.OBARcvLineDTOData oBARcvLineDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData assetCategory  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData assetLocation  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ownerDept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData auditDept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData owner  , System.String cardNo  , System.String assetDescription  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData tagDescFlexSegments  )
		{
			initData();
			this.UseOrg = useOrg;
			this.UseDept = useDept;
			this.UseMan = useMan;
			this.DispenseQtyTU = dispenseQtyTU;
			this.ID = iD;
			this.CreatedOn = createdOn;
			this.CreatedBy = createdBy;
			this.ModifiedOn = modifiedOn;
			this.ModifiedBy = modifiedBy;
			this.SysVersion = sysVersion;
			this.DispenseLineNo = dispenseLineNo;
			this.Grade = grade;
			this.Potency = potency;
			this.DispenseQtySU = dispenseQtySU;
			this.DescFlexSegments = descFlexSegments;
			this.DispenseQtyTBU = dispenseQtyTBU;
			this.SrcDispenseLineID = srcDispenseLineID;
			this.OBARcvLineDTO = oBARcvLineDTO;
			this.AssetCategory = assetCategory;
			this.AssetLocation = assetLocation;
			this.OwnerDept = ownerDept;
			this.AuditDept = auditDept;
			this.Owner = owner;
			this.CardNo = cardNo;
			this.AssetDescription = assetDescription;
			this.TagDescFlexSegments = tagDescFlexSegments;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 领用组织
		/// 收货行分发记录数据传输对象 Copy.基本信息.领用组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_useOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UseOrg
		{
			get	
			{	
				return m_useOrg ;
			}
			set	
			{	
				m_useOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 领用部门
		/// 收货行分发记录数据传输对象 Copy.基本信息.领用部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_useDept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UseDept
		{
			get	
			{	
				return m_useDept ;
			}
			set	
			{	
				m_useDept = value ;	
			}
		}
			
		

		/// <summary>
		/// 领用人
		/// 收货行分发记录数据传输对象 Copy.基本信息.领用人
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_useMan ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData UseMan
		{
			get	
			{	
				return m_useMan ;
			}
			set	
			{	
				m_useMan = value ;	
			}
		}
			
		

		/// <summary>
		/// 分发数量1
		/// 收货行分发记录数据传输对象 Copy.基本信息（分发单位）.分发数量1
		/// </summary>
		private System.Decimal m_dispenseQtyTU ;
		[DataMember(IsRequired=false)]
		public System.Decimal DispenseQtyTU
		{
			get	
			{	
				return m_dispenseQtyTU ;
			}
			set	
			{	
				m_dispenseQtyTU = value ;	
			}
		}
			
		

		/// <summary>
		/// ID
		/// 收货行分发记录数据传输对象 Copy.Key.ID
		/// </summary>
		private System.Int64 m_iD ;
		[DataMember(IsRequired=false)]
		public System.Int64 ID
		{
			get	
			{	
				return m_iD ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建时间
		/// 收货行分发记录数据传输对象 Copy.Sys.创建时间
		/// </summary>
		private System.DateTime m_createdOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime CreatedOn
		{
			get	
			{	
				return m_createdOn ;
			}
			set	
			{	
				m_createdOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建人
		/// 收货行分发记录数据传输对象 Copy.Sys.创建人
		/// </summary>
		private System.String m_createdBy ;
		[DataMember(IsRequired=false)]
		public System.String CreatedBy
		{
			get	
			{	
				return m_createdBy ;
			}
			set	
			{	
				m_createdBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改时间
		/// 收货行分发记录数据传输对象 Copy.Sys.修改时间
		/// </summary>
		private System.DateTime m_modifiedOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime ModifiedOn
		{
			get	
			{	
				return m_modifiedOn ;
			}
			set	
			{	
				m_modifiedOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改人
		/// 收货行分发记录数据传输对象 Copy.Sys.修改人
		/// </summary>
		private System.String m_modifiedBy ;
		[DataMember(IsRequired=false)]
		public System.String ModifiedBy
		{
			get	
			{	
				return m_modifiedBy ;
			}
			set	
			{	
				m_modifiedBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 事务版本
		/// 收货行分发记录数据传输对象 Copy.Sys.事务版本
		/// </summary>
		private System.Int64 m_sysVersion ;
		[DataMember(IsRequired=false)]
		public System.Int64 SysVersion
		{
			get	
			{	
				return m_sysVersion ;
			}
			set	
			{	
				m_sysVersion = value ;	
			}
		}
			
		

		/// <summary>
		/// 序号
		/// 收货行分发记录数据传输对象 Copy.基本信息.序号
		/// </summary>
		private System.Int32 m_dispenseLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 DispenseLineNo
		{
			get	
			{	
				return m_dispenseLineNo ;
			}
			set	
			{	
				m_dispenseLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 等级
		/// 收货行分发记录数据传输对象 Copy.基本信息.等级
		/// </summary>
		private System.Int32 m_grade ;
		[DataMember(IsRequired=false)]
		public System.Int32 Grade
		{
			get	
			{	
				return m_grade ;
			}
			set	
			{	
				m_grade = value ;	
			}
		}
			
		

		/// <summary>
		/// 成分
		/// 收货行分发记录数据传输对象 Copy.基本信息.成分
		/// </summary>
		private System.Int32 m_potency ;
		[DataMember(IsRequired=false)]
		public System.Int32 Potency
		{
			get	
			{	
				return m_potency ;
			}
			set	
			{	
				m_potency = value ;	
			}
		}
			
		

		/// <summary>
		/// 分发数量
		/// 收货行分发记录数据传输对象 Copy.基本信息（库存单位）.分发数量
		/// </summary>
		private System.Decimal m_dispenseQtySU ;
		[DataMember(IsRequired=false)]
		public System.Decimal DispenseQtySU
		{
			get	
			{	
				return m_dispenseQtySU ;
			}
			set	
			{	
				m_dispenseQtySU = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 收货行分发记录数据传输对象 Copy.基本信息.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexSegments ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexSegments
		{
			get	
			{	
				return m_descFlexSegments ;
			}
			set	
			{	
				m_descFlexSegments = value ;	
			}
		}
			
		

		/// <summary>
		/// 分发数量2
		/// 收货行分发记录数据传输对象 Copy.Misc.分发数量2
		/// </summary>
		private System.Decimal m_dispenseQtyTBU ;
		[DataMember(IsRequired=false)]
		public System.Decimal DispenseQtyTBU
		{
			get	
			{	
				return m_dispenseQtyTBU ;
			}
			set	
			{	
				m_dispenseQtyTBU = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源分发行ID
		/// 收货行分发记录数据传输对象 Copy.Misc.来源分发行ID
		/// </summary>
		private System.Int64 m_srcDispenseLineID ;
		[DataMember(IsRequired=false)]
		public System.Int64 SrcDispenseLineID
		{
			get	
			{	
				return m_srcDispenseLineID ;
			}
			set	
			{	
				m_srcDispenseLineID = value ;	
			}
		}
			
		

		/// <summary>
		/// 收货行数据传输对象
		/// 收货行分发记录数据传输对象 Copy.Misc.收货行数据传输对象
		/// </summary>
		private UFIDA.U9.ISV.RCV.DTO.OBARcvLineDTOData m_oBARcvLineDTO ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.ISV.RCV.DTO.OBARcvLineDTOData OBARcvLineDTO
		{
			get	
			{	
				return m_oBARcvLineDTO ;
			}
			set	
			{	
				m_oBARcvLineDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产类别
		/// 收货行分发记录数据传输对象 Copy.Misc.资产类别
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_assetCategory ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData AssetCategory
		{
			get	
			{	
				return m_assetCategory ;
			}
			set	
			{	
				m_assetCategory = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产位置
		/// 收货行分发记录数据传输对象 Copy.Misc.资产位置
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_assetLocation ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData AssetLocation
		{
			get	
			{	
				return m_assetLocation ;
			}
			set	
			{	
				m_assetLocation = value ;	
			}
		}
			
		

		/// <summary>
		/// 管理部门
		/// 收货行分发记录数据传输对象 Copy.Misc.管理部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_ownerDept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData OwnerDept
		{
			get	
			{	
				return m_ownerDept ;
			}
			set	
			{	
				m_ownerDept = value ;	
			}
		}
			
		

		/// <summary>
		/// 核算部门
		/// 收货行分发记录数据传输对象 Copy.Misc.核算部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_auditDept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData AuditDept
		{
			get	
			{	
				return m_auditDept ;
			}
			set	
			{	
				m_auditDept = value ;	
			}
		}
			
		

		/// <summary>
		/// 管理责任人
		/// 收货行分发记录数据传输对象 Copy.Misc.管理责任人
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_owner ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Owner
		{
			get	
			{	
				return m_owner ;
			}
			set	
			{	
				m_owner = value ;	
			}
		}
			
		

		/// <summary>
		/// 卡片编号
		/// 收货行分发记录数据传输对象 Copy.Misc.卡片编号
		/// </summary>
		private System.String m_cardNo ;
		[DataMember(IsRequired=false)]
		public System.String CardNo
		{
			get	
			{	
				return m_cardNo ;
			}
			set	
			{	
				m_cardNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 资产描述
		/// 收货行分发记录数据传输对象 Copy.Misc.资产描述
		/// </summary>
		private System.String m_assetDescription ;
		[DataMember(IsRequired=false)]
		public System.String AssetDescription
		{
			get	
			{	
				return m_assetDescription ;
			}
			set	
			{	
				m_assetDescription = value ;	
			}
		}
			
		

		/// <summary>
		/// 实物扩展信息集合
		/// 收货行分发记录数据传输对象 Copy.Misc.实物扩展信息集合
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_tagDescFlexSegments ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData TagDescFlexSegments
		{
			get	
			{	
				return m_tagDescFlexSegments ;
			}
			set	
			{	
				m_tagDescFlexSegments = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																																																				
		#endregion 
	} 	
}
